module(
    name = "bzlmod_lock_files",
    version = "0.0.0",
)

bazel_dep(name = "rules_jvm_external", version = "6.0")
local_path_override(
    module_name = "rules_jvm_external",
    path = "../../..",
)

maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
    name = "multiple_lock_files",
    artifacts = [
        "redis.clients:jedis:5.1.0",
    ],
    lock_file = "//:lock.json",
)
use_repo(
    maven,
    "multiple_lock_files",
)
